package com.hw.higress.common.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.net.UnknownHostException;

/**
 * @program: cloud-higress
 * @description:
 * @author: hewei
 * @date: 2023-07-15 11:55
 **/

@FeignClient(name="higress-producer")
public interface ProducerClient {
    @GetMapping("/producer/host")
    String host() throws UnknownHostException;
}
